""" 数据处理-标准规则 """
STANDARD_RULE = {
    "search":{
        "规则名称":"processing-standard-1001",
        "规则类型":"processing-standard-1002",
        "过滤":"processing-standard-1002-op-0",
        "内容格式":"processing-standard-1003",
        "文本":"processing-standard-1003-op-0",
        "工单":"processing-standard-1003-op-1",
        "启用状态":"processing-standard-1004",
        "已禁用":"processing-standard-1004-op-0",
        "已启用":"processing-standard-1004-op-1",
        "未启用":"processing-standard-1004-op-2",
        "重置":"processing-standard-1005",
        "查询":"processing-standard-1006",
    },
    "rule_list":{
        "规则名称":"processing-standard-2001-t0",
        "规则描述":"processing-standard-2001-t1",
        "规则类型":"processing-standard-2001-t2",
        "内容格式":"processing-standard-2001-t3",
        "处理阶段":"processing-standard-2001-t4",
        "权重":   "processing-standard-2001-t5",
        "创建时间":"processing-standard-2001-t6",
        "启用状态":"processing-standard-2001-t7",
        "已禁用":"processing-standard-2001-t8",
    }
}
""" 数据处理-标准规则 """
CUSTOM_RULE = {
    "edit":
        {
        "规则名称":"processing-3002",
        "规则描述":"processing-3003",
        "规则类型":"processing-3005",
        "数据渠道":"processing-3007",

        "条件限制":"processing-3008",

        "字段":"sql-1-9001-0",
        "原文片段": "sql-1-9001-0-0",
        "品牌名称": "sql-1-9001-0-2",
        "车系名称": "sql-1-9001-0-3",
        "用车场景": "sql-1-9001-0-4",


        "变量值":"sql-1-9002-0",
        "变量值_值":"sql-1-9002-op-0-0",
        "文本长度":"sql-1-9002-op-0-1",

        "逻辑运算":"sql-1-9003-0",
        "为空":"sql-1-9003-0-0",
        "不为空":"sql-1-9003-0-1",
        "包含":"sql-1-9003-0-2",
        "不包含":"sql-1-9003-0-3",
        "==":"sql-1-9003-0-4",
        "!=":"sql-1-9003-0-5",
        "文本长度_==":"sql-1-9003-0-0",
        "文本长度_!=":"sql-1-9003-0-1",
        ">":"sql-1-9003-0-2",
        "<":"sql-1-9003-0-3",
        ">=":"sql-1-9003-0-4",
        "<=":"sql-1-9003-0-5",

        "条件类型":"sql-1-9004-0",
        "条件类型_值":"sql-1-9004-0-0",
        "资源组":"sql-1-9004-0-1",
        "正则表达式":"sql-1-9004-0-2",

        "条件详情":"sql-1-9005-0",
        "测试资源":"sql-1-9005-0-0",

        "删除":"sql-1-9006-0",

        "权重":"processing-3010",
        "A": "processing-3010-op-0",
        "B": "processing-3010-op-1",
        "C": "processing-3010-op-2",
        "D": "processing-3010-op-3",
        "E": "processing-3010-op-4",
    },
    "action":{
        "字段": "sql-2-9001-0",
        "原文片段": "sql-2-9001-0-0",
        "品牌名称": "sql-2-9001-0-2",
        "车系名称": "sql-2-9001-0-3",
        "用车场景": "sql-2-9001-0-4",

        "变量值": "sql-2-9002-0",
        "变量值_值": "sql-2-9002-op-0-0",

        "逻辑运算": "sql-2-9003-0",
        # "为空": "sql-2-9003-0-0",
        # "不为空": "sql-2-9003-0-1",
        # "包含": "sql-2-9003-0-2",
        # "不包含": "sql-2-9003-0-3",
        "==": "sql-2-9003-0-0",
        # "!=": "sql-2-9003-0-5",

        "条件类型": "sql-2-9004-0",
        "条件类型_值": "sql-2-9004-0-0",
        "资源组": "sql-2-9004-0-1",
        "正则表达式": "sql-2-9004-0-2",

        "条件详情": "sql-2-9005-0",
        "测试资源": "sql-2-9005-0-0",
    },
    "action_b":{
        "字段": "sql-2-9001-1",
        "原文片段": "sql-2-9001-1-0",
        "品牌名称": "sql-2-9001-1-2",
        "车系名称": "sql-2-9001-1-3",
        "用车场景": "sql-2-9001-1-4",

        "变量值": "sql-2-9002-1",
        "变量值_值": "sql-2-9002-op-1-0",

        "逻辑运算": "sql-2-9003-1",
        "==": "sql-2-9003-1-0",

        "条件类型": "sql-2-9004-1",
        "条件类型_值": "sql-2-9004-1-0",
        "资源组": "sql-2-9004-1-1",
        "正则表达式": "sql-2-9004-1-2",

        "条件详情": "sql-2-9005-1",
        "测试资源": "sql-2-9005-1-0",
    }
}
CUSTOM_RULE_2 = {
    "edit" : {
        "字段": "sql-1-9001-1",
        "原文片段": "sql-1-9001-1-0",
        "品牌名称": "sql-1-9001-1-2",
        "车系名称": "sql-1-9001-1-3",
        "用车场景": "sql-1-9001-1-4",

        "变量值": "sql-1-9002-1",
        "变量值_值": "sql-1-9002-op-1-0",
        "文本长度":"sql-1-9002-op-1-1",

        "逻辑运算": "sql-1-9003-1",
        "为空": "sql-1-9003-1-0",
        "不为空": "sql-1-9003-1-1",
        "包含": "sql-1-9003-1-2",
        "不包含": "sql-1-9003-1-3",
        "==": "sql-1-9003-1-4",
        "!=": "sql-1-9003-1-5",
        "文本长度_==": "sql-1-9003-1-0",
        "文本长度_!=": "sql-1-9003-1-1",
        ">": "sql-1-9003-1-2",
        "<": "sql-1-9003-1-3",
        ">=": "sql-1-9003-1-4",
        "<=": "sql-1-9003-1-5",

        "条件类型": "sql-1-9004-1",
        "条件类型_值": "sql-1-9004-1-0",
        "资源组": "sql-1-9004-1-1",
        "正则表达式": "sql-1-9004-1-2",

        "条件详情": "sql-1-9005-1",
        "测试资源": "sql-1-9005-1-0",

        "删除": "sql-1-9006-1"
    }
}